package com.cy.cuiyang_admin.chain.handler;


import com.cy.cuiyang_admin.chain.AttendHandlerChain;
import com.cy.cuiyang_admin.chain.annotation.AttendHandler;
import com.cy.cuiyang_admin.pojo.AttendRecordDto;
import com.cy.cuiyang_admin.pojo.AttendanceRecord;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 异常审核判断处理
 *
 * @author admin
 */
@AttendHandler(order = 0)
public class ErrDetectiveHandler implements AttendDetectiveHandler {

    private static final Logger LOGGER = LoggerFactory.getLogger(ErrDetectiveHandler.class);

    @Override
    public void handle(AttendHandlerChain chain, AttendRecordDto attendRecordDto, AttendanceRecord attendance) {
        LOGGER.info("ErrDetectiveHandler...is...start...");

        chain.doHandler(attendRecordDto, attendance);
    }
}
